package com.family.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.family.model.FamilyUser;

public interface FUserMapper {
	public List<FamilyUser> getList();
	
	public void add(@Param("user") FamilyUser user);
	
	public void update(@Param("user") FamilyUser user);
	
	public FamilyUser findById(@Param("id") Integer id);
	
	//根据登录名和密码判断是否存在
	public Integer getByUserAndPassword(@Param("account")String account, @Param("password")String password);
	
}
